﻿namespace com.binance.client.model.user
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class PositionUpdate
	{

		private string symbol;

		private decimal amount;

		private decimal entryPrice;

		private decimal preFee;

		private decimal unrealizedPnl;

		public virtual string Symbol
		{
			get
			{
				return symbol;
			}
			set
			{
				this.symbol = value;
			}
		}


		public virtual decimal Amount
		{
			get
			{
				return amount;
			}
			set
			{
				this.amount = value;
			}
		}


		public virtual decimal EntryPrice
		{
			get
			{
				return entryPrice;
			}
			set
			{
				this.entryPrice = value;
			}
		}


		public virtual decimal PreFee
		{
			get
			{
				return preFee;
			}
			set
			{
				this.preFee = value;
			}
		}


		public virtual decimal UnrealizedPnl
		{
			get
			{
				return unrealizedPnl;
			}
			set
			{
				this.unrealizedPnl = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("symbol", symbol).append("amount", amount).append("entryPrice", entryPrice).append("preFee", preFee).append("unrealizedPnl", unrealizedPnl).ToString();
		}
	}

}